﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAPICodePack.Shell.PropertySystem;
using FireZone.NativeWMDMInteface;

namespace FireZone.DataStructure
{
    internal class HtmlItem : MTPStorageItem
    {

        private static IDictionary<string, WMDM_FORMATCODE> _fileExtensions = new Dictionary<string, WMDM_FORMATCODE>(StringComparer.OrdinalIgnoreCase) 
        { 
            { ".htm", WMDM_FORMATCODE.WMDM_FORMATCODE_HTML }, 
            { ".html", WMDM_FORMATCODE.WMDM_FORMATCODE_HTML }, 
        };

        private static IDictionary<PropertyKey, string> _visibleColumns = new Dictionary<PropertyKey, string>
        {
            { SystemProperties.System.FileName, WMDM_DATATYPE_DESC.g_wszWMDMFileName },
            { SystemProperties.System.Size, WMDM_DATATYPE_DESC.g_wszWMDMFileSize},
            { SystemProperties.System.DateModified, WMDM_DATATYPE_DESC.g_wszWMDMFileCreationDate},
        };
        public new static IDictionary<string, WMDM_FORMATCODE> FileExtensions
        {
            get
            {
                return _fileExtensions;
            }
        }

        public new static IDictionary<PropertyKey, string> VisibleColumns
        {
            get
            {
                return _visibleColumns;
            }
        }

    }
}
